package com.demo.msg;

import java.util.HashMap;
import java.util.Map;

public class MapMessageBuilder {
    private Map<String, Object> map = new HashMap<String, Object>();

    public MapMessageBuilder addProperty(String name, Object value) {
        map.put(name, value);
        return this;
    }

    public Map<String, Object> build() {
        return map;
    }
}

